package cn.com.headfree.evaluation.dao;

import cn.com.headfree.entity.TDeclareEvaluationInfo;
import cn.com.headfree.entity.isc.User;
import com.gta.edu.sdk.common.dto.Page;

import java.util.List;

/**
 * @Description: TODO
 * @Author wcSun
 * @Date 2022/6/28
 **/
public interface IDeclareEvaluationDao {

    void saveDeclareEvaluationInfo(TDeclareEvaluationInfo declareEvaluationInfo);

    List<TDeclareEvaluationInfo> judge(TDeclareEvaluationInfo tDeclareEvaluationInfo);

    void getPageTDeclareEvaluationInfo(Page<TDeclareEvaluationInfo> page, String year, User user);

    void updateDeclareEvaluationState(String id, String state,String auditOpt);

    void deleteDeclareEvaluationInfo(String DeclareEvaluationId);

    void getPageDeclareEvaluationInfoQuery(Page<TDeclareEvaluationInfo> page,String baseOrgId,  String deptId,String userName, String erpNo, Integer year, String auditStatus);

    List<TDeclareEvaluationInfo> getListSalaryInfoQuery(String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    TDeclareEvaluationInfo getTDeclareEvaluationInfoById(String id);
}
